import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'mdi:home',
      order: -1,
      title: '首页',
      hideChildrenInMenu: true,
      // affixTab: true,
    },
    name: 'home',
    path: '/home',
    children: [
      {
        name: 'homeIndex',
        path: '/home/index',
        component: () => import('#/views/home/index.vue'),
        meta: {
          affixTab: true,
          title: '首页',
        },
      },
    ],
  },
];

export default routes;
